﻿namespace Vinno.Brand.Pack.Core.Entities
{
    /// <summary>
    /// 产品矩阵轮播
    /// </summary>
    [Description("产品矩阵轮播")]
    [EntitySchema(TableConstants.Brand, "VINNO")]
    public class ProductCarousel : EntityBase<Guid>, ICreatedTime
    {
        /// <summary>
        /// 缩略图
        /// </summary>
        [Required]
        [DisplayName("缩略图Id")]
        public long ImgId { get; set; }

        public virtual FileEntity Img { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        [DisplayName("排序号")]
        public int OrderNo { get; set; }

        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreatedTime { get; set; }
    }
}
